home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-11-11 | 892 b | 38 lines |
- #! smake
- #
- # Copyright (c) Mark J. Kilgard, 1995.
- #
- include $(ROOT)/usr/include/make/commondefs
-
- TOP = ../..
-
- LN = ln -s
- MV = mv
- RM = -rm -rf
-
- TARGETS = lineblend worms rings agv_example fractals hanoi hanoi2 \
- gears noof moth text3d steam
-
- GLUT = $(TOP)/lib/glut/libglut.a
- LLDLIBS = $(GLUT) -lGLU -lGL -lXmu -lXext -lX11 -lm
-
- SRCS = lineblend.c worms.c rings.c fractals.c fracviewer.c agviewer.c \
- agv_example.c hanoi.c hanoi2.c engine.c moth.c text3d.c steam.c
- OBJS = $(SRCS:.c=.o)
-
- LCOPTS = -fullwarn -wlint,-f -woff 813,852,827,826 -I$(TOP)
- LDIRT = *~ *.bak *.pure
-
- default : $(TARGETS)
-
- agv_example: agv_example.o agviewer.o
- $(CC) -o $@ $(CFLAGS) agv_example.o agviewer.o $(LDLIBS)
-
- hanoi2: hanoi2.o engine.o
- $(CC) -o $@ $(CFLAGS) hanoi2.o engine.o $(LDLIBS)
-
- fractals: fractals.o fracviewer.o
- $(CC) -o $@ $(CFLAGS) fractals.o fracviewer.o $(LDLIBS)
-
- include $(COMMONRULES)
-